package com.ds.common.route.config;

import com.ds.common.nacos.NacosConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
public class ClusterConfigService extends NacosConfig<ClusterConfigList> {
    @Override
    protected String getDataId() {
        return "cluster_config";
    }

    @Override
    protected String getGroupId() {
        return "route_center";
    }

    @Override
    protected Class<ClusterConfigList> getClassType() {
        return ClusterConfigList.class;
    }
}
